Image processing device, image processing method, and image processing device manufacturing method

ABSTRACT

The present invention relates to an image processing apparatus and method in which more faithful colors are reproduced and noise is reduced, and to a method of manufacturing the image processing apparatus. A four-color color filter  61  is formed of a total of four filters, that is, an R filter that allows only red light to pass through, a B filter that allows only blue light to pass through, and a G1 filter that allows only green light in a first wavelength band to pass through, and a G2 filter, having a high correlation with the G1 filter, that allows only green light in a second wavelength band to pass through, the four filters defining a minimum unit. The G1 filter and the G2 filter are arranged at mutually diagonal positions within the minimum unit. RGB signals are generated in accordance with four kinds of signals which are transmitted through the four-color color filter  61  and which are obtained by an image sensor. The present invention can be applied to an image processing apparatus such as a digital camera.

TECHNICAL FIELD

The present invention relates to an image processing apparatus and method, and a method of manufacturing the image processing apparatus. More particularly, the present invention relates to an image processing apparatus and method in which more faithful colors are reproduced and noise is reduced, and to a method of manufacturing the image processing apparatus.

BACKGROUND ART

In recent years, image processing apparatuses (digital cameras, color scanners, etc.) intended for consumers, and image processing software have come into wide use, and the number of users who edit, by themselves, images obtained by, for example, taking pictures has increased.

Along with this situation, there has also been a very strong demand for high quality images (demand for better color, demand for reduction in noise, etc.). The current situation is that more than half of users cite good image quality as a first condition when purchasing a digital camera, and the like.

In a digital camera, generally, a color filter 1 of the three primary colors RGB, shown in FIG. 1, is used. In this example, as indicated by the short dashed line of FIG. 1, the color filter 1 is formed in the so-called Bayer layout, in which a total of four filters, that is, two G filters that allow only green (G) light to pass through, one R filter that allows only red (R) light to pass through, and one B filter that allows only blue (B) light to pass through, define a minimum unit.

FIG. 2 is a block diagram showing an example of the configuration of a signal processing section 11 for performing various processing on RGB signals obtained by a CCD (Charge Coupled Device) imaging device having the RGB color filter 1.

An offset correction processing section 21 removes offset components contained in an image signal supplied from a front end 13 for performing a predetermined process on a signal obtained by the CCD imaging device, and outputs the obtained image signal to a white-balance correction processing section 22. The white-balance correction processing section 22 corrects the balance of each color on the basis of the color temperature of the image signal supplied from the offset correction processing section 21 and the difference in the sensitivity of each filter of the color filter 1. The color signal obtained as a result of a correction being made by the white-balance correction processing section 22 is output to a gamma correction processing section 23. The gamma correction processing section 23 makes gamma correction on the signal supplied from the white-balance correction processing section 22, and outputs the obtained signal to a vertical-direction time-coincidence processing section 24. The vertical-direction time-coincidence processing section 24 is provided with a delay device, so that signals having vertical deviations in time, which are supplied from the gamma correction processing section 23, are made time coincident.

An RGB signal generation processing section 25 performs an interpolation process for interpolating the color signal supplied from the vertical-direction time-coincidence processing section 24 in the phase of the same space, a noise removal process for removing noise components of the signal, a filtering process for limiting the signal band, and a high-frequency correction process for correcting high-frequency components of the signal band, and outputs the obtained RGB signals to a luminance signal generation processing section 26 and a color-difference signal generation processing section 27.

The luminance signal generation processing section 26 combines the RGB signals supplied from the RGB signal generation processing section 25 at a predetermined combination ratio in order to generate a luminance signal. The color-difference signal generation processing section 27 likewise combines the RGB signals supplied from the RGB signal generation processing section 25 at a predetermined combination ratio in order to generate color-difference signals (Cb, Cr). The luminance signal generated by the luminance signal generation processing section 26 and the color-difference signals generated by the color-difference signal generation processing section 27 are output to, for example, a monitor provided outside the signal processing section 11.

It is common practice that, in this manner, image processing is performed on the original signal by a linear transform after gamma processing is performed thereon.

As a condition for determining a color filter, firstly, “color reproduction characteristics” for reproducing a color faithful to how the color appears to the eyes of a human being is one example. These “color reproduction characteristics” are formed of an “appearance of color” meaning that the color is brought closer to a color which is seen by the eyes of a human being, and “color discrimination characteristics” (metamerism matching) meaning that colors which are seen as different by the eyes of a human being are reproduced as different colors and colors which are seen as the same are reproduced as the same color. Secondly, the satisfaction of “physical limitations” when producing a filter, such as the spectral components having positive sensitivity and spectral sensitivity characteristics having one peak, is another example. Thirdly, a consideration of “noise reduction characteristics” is a further example.

In order to produce and evaluate a color filter with importance placed on “color reproduction characteristics”, hitherto, for example, a filter evaluation coefficient such as a q factor, a μ factor, or an FOM (Figure of Merit) has been used. These coefficients take a value of 0 to 1; the closer the spectral sensitivity characteristics of the color filter to a linear transform of the spectral sensitivity characteristics (color matching function) of the eyes of a human being, the greater value the coefficients take, that is, the coefficients indicate a value closer to 1. In order to make the values of these coefficients closer to 1, the spectral sensitivity is made to satisfy the Luther condition.

However, if the color filter is designed so as to satisfy the Luther condition, the color filter has negative spectral components or becomes such that a plurality of peak values occur, as shown in FIG. 3. For this reason, the color filter cannot be realized physically, or even if it can be realized, it can be realized only with a considerable difficulty.

Therefore, when the color filter is designed by considering the above-described “physical limitations” in addition to the Luther condition, the spectral sensitivity characteristics usually become characteristics, shown in FIG. 4, such that negative spectral components do not appear. A curve L1 of FIG. 3 and a curve L11 of FIG. 4 represent the spectral sensitivity of R. A curve L2 of FIG. 3 and a curve L12 of FIG. 4 represent the spectral sensitivity of G. A curve L3 of FIG. 3 and a curve L13 of FIG. 4 represent the spectral sensitivity of B.

However, in a filter having spectral sensitivity characteristics shown in FIG. 4, a problem arises in that the overlap of the spectral sensitivity characteristics of R (the curve L11) and the spectral sensitivity characteristics of G (the curve L12) is large, and when each color signal is separated (extracted), propagation noise increases. That is, in order to separate the color signal, the difference between the R signal and the G signal needs to be increased. However, when each signal is amplified to increase the difference, noise is also amplified as a consequence thereof, and the “noise reduction characteristics” described above are not satisfied.

Therefore, in order that “noise reduction characteristics” be satisfied, it is considered that the portion where the spectral sensitivity characteristics of R overlap the spectral sensitivity characteristics of G is decreased even if the “color reproduction characteristics” is sacrificed somewhat, and, for example, the filter is made to have the spectral sensitivity characteristics shown in FIG. 5.

However, in the case of a filter having such characteristics, there is a problem in that, for example, so-called “color discrimination characteristics” are degraded, such as objects which are seen to the eyes as having different colors being photographed as the same color by a digital camera.

The degradation of the “color discrimination characteristics” are further described as follows. That is, FIG. 6 shows spectral reflectances of an object R1 and an object R2, in which the spectral reflectances of the object R1 and the object R2 differ. FIGS. 7A and 7B show tristimulus values (X, Y, Z values) when the object R1 and the object R2 having a spectral reflectance of FIG. 6 are seen by the eyes of a standard observer (FIG. 7A), and show RGB values when a photograph is taken by a color filter having the spectral sensitivity characteristics of FIG. 5 (FIG. 7B).

In FIG. 7A, the X, Y, and Z values (“0.08”, “0.06”, “0.30”) of the object R1 are different from the X, Y, and Z values (“0.10”, “0.07”, “0.33”) of the object R2. This indicates that each object is seen as a different color by the eyes of a human being. In contrast, in FIG. 7B, the R, G, and B values of the object R1, and the R, G, and B values of the object R2 have the same values (“66.5”, “88.3”, “132.0”). This means that, in the digital camera (color filter) having the spectral sensitivity characteristics of FIG. 5, each object is photographed as having the same color, that is, without discriminating the colors.

Furthermore, in color filter evaluation by using a q factor, a μ factor, or an FOM, “noise reduction characteristics” are not considered, and the filter is not desirable from the viewpoint of “noise reduction characteristics”. Nevertheless, the highest evaluation (the value of the coefficient is 1) is indicated with respect to a filter that satisfies both “color reproduction characteristics” and “physical limitations” (filter, shown in FIG. 4, that satisfies the Luther condition).

DISCLOSURE OF THE INVENTION

The present invention has been made in view of such circumstances. The present invention aims to be capable of reproducing more faithful colors and reducing noise.

The image processing apparatus of the present invention includes: extraction means for extracting first to third light of the three primary colors, and fourth light having a high correlation with the second light among the first to third light of the three primary colors; conversion means for converting the first to fourth light extracted by the extraction means into corresponding first to fourth color signals; and signal generation means for generating fifth to seventh color signals corresponding to the three primary colors on the basis of the first to fourth color signals, wherein the signal generation means generates the fifth to seventh color signals on the basis of a conversion equation provided to minimize the difference, at a predetermined evaluation value, between a reference value computed in accordance with a predetermined color patch and an output value computed by spectral sensitivity characteristics of the extraction means in accordance with the color patch.

The extraction means for extracting the first to fourth light may have a unit composed of first to fourth extraction sections for extracting the first to fourth light, respectively, and the second extraction section and the fourth extraction section for extracting the second light and the fourth light, respectively, may be positioned diagonally at the unit.

The second extraction section and the fourth extraction section may have spectral sensitivity characteristics which closely resemble visible sensitivity characteristics of a luminance signal.

The first to third light of the three primary colors may be red, green, and blue light, respectively, and the fourth light may be green light.

The difference may be a difference in an XYZ color space.

The difference may be a difference in a uniform perceptual color space.

The difference may be propagation noise for color separation.

The image processing method for use with an image processing apparatus of the present invention includes: an extraction step of extracting first to third light of the three primary colors, and fourth light having a high correlation with the second light among the first to third light of the three primary colors; a conversion step of converting the first to fourth light extracted in the process of the extraction step into corresponding first to fourth color signals; and a signal generation step of generating fifth to seventh color signals corresponding to the three primary colors on the basis of the first to fourth color signals, wherein the signal generation step generates the fifth to seventh color signals on the basis of a conversion equation provided to minimize the difference, at a predetermined evaluation value, between a reference value computed in accordance with a predetermined color patch and an output value computed by spectral sensitivity characteristics of the extraction means in accordance with the color patch.

The method of manufacturing an image processing apparatus of the present invention includes: a first step of providing conversion means; and a second step of producing, in front of the conversion means provided in the process of the first step, extraction means for extracting first to third light of the three primary colors, and fourth light having a high correlation with the second light among the first to third light of the three primary colors by determining spectral sensitivity characteristics using a predetermined evaluation coefficient.

In the second step, as the extraction means, a unit composed of first to fourth extraction sections for extracting the first to fourth light, respectively, may be formed, and the second extraction section and the fourth extraction section for extracting the second light and the fourth light, respectively, may be positioned diagonally at the unit.

The evaluation coefficient may be an evaluation coefficient for approximating the spectral sensitivity characteristics of the second extraction section and the fourth extraction section to visible sensitivity characteristics of a luminance signal.

The evaluation coefficient may be an evaluation coefficient in which noise reduction characteristics as well as color reproduction characteristics are considered.

In the second step, the first to third light of the three primary colors may be red, green, and blue light, respectively, and the fourth light may be green light.

The manufacturing method may further include a third step of producing generation means for generating fifth to seventh color signals corresponding to the three primary colors on the basis of the first to fourth color signals generated by converting the first to fourth light by the conversion means.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an example of a conventional RGB color filter.

FIG. 2 is a block diagram showing an example of the configuration of a signal processing section provided in a conventional digital camera.

FIG. 3 shows an example of spectral sensitivity characteristics.

FIG. 4 shows another example of spectral sensitivity characteristics.

FIG. 5 shows still another example of spectral sensitivity characteristics.

FIG. 6 shows the spectral reflectances of predetermined objects.

FIG. 7A shows the tristimulus values when the predetermined objects is seen by the eyes of a standard observer.

FIG. 7B shows an example of the RGB values when the predetermined objects are photographed by a color filter.

FIG. 8 is a block diagram showing an example of the configuration of a digital camera to which the present invention is applied.

FIG. 9 shows an example of a four-color color filter provided in the digital camera of FIG. 8.

FIG. 10 shows an example of a visible sensitivity curve.

FIG. 11 shows features of evaluation coefficients.

FIG. 12 is a block diagram showing an example of the configuration of a camera system LSI of FIG. 8.

FIG. 13 is a block diagram showing an example of the configuration of a signal processing section of FIG. 12.

FIG. 14 is a flowchart illustrating a process for producing an image processing apparatus.

FIG. 15 is a flowchart illustrating details of a of FIG. 14.

FIG. 16 shows an example of a virtual curve.

FIG. 17A shows an example of the UMG values of filters in which RGB characteristics do not overlap one another.

FIG. 17B shows an example of the UMG values of filters in which R characteristics and G characteristics overlap each other over a wide wavelength band.

FIG. 17C shows an example of the UMG values of filters in which R, G, and B characteristics properly overlap one another.

FIG. 18 shows an example of the spectral sensitivity characteristics of the four-color color filter.

FIG. 19 is a flowchart illustrating details of a linear matrix determination process in step S2 of FIG. 14.

FIG. 20 shows an example of color-difference evaluation results.

FIG. 21 shows the chromaticity of predetermined objects by the four-color color filter.

FIG. 22 shows another example of the four-color color filter provided in the digital camera of FIG. 8.

BEST MODE FOR CARRYING OUT THE INVENTION

FIG. 8 is a block diagram showing an example of the configuration of a digital camera to which the present invention is applied.

In the digital camera shown in FIG. 8, color filters for identifying four kinds of colors (light) are provided in front of (in the plane opposing a lens 42) an image sensor 45 composed of a CCD (Charge Coupled Device) and the like.

FIG. 9 shows an example of a four-color color filter 61 provided in the digital camera 45 of FIG. 8.

As indicated by the short dashed line in FIG. 9, the four-color color filter 61 is formed in such a way that a total of four filters, that is, an R filter that allows only red light to pass through, and a B filter that allows only blue light to pass through, a G1 filter that allows only green light in a first wavelength band to pass through, and a G2 filter that allows only green light in a second wavelength band to pass through, are set as a minimum unit. The G1 filter and the G2 filter are arranged at mutually diagonal positions within the minimum unit.

As will be described in detail later, by setting the number of types of colors of images obtained by the image sensor 45 to 4 so as to increase color information to be obtained, when compared to the case in which only three types of colors (RGB) are obtained, it is possible to represent colors more accurately, and the reproduction (“color discrimination characteristics”) such that colors which are seen different to the eyes of a human being are reproduced as different colors and colors which are seen the same are reproduced as the same color can be improved.

As can be seen from the visible sensitivity curve shown in FIG. 10, the eyes of a human being are sensitive to the luminance. Therefore, in the example of the four-color color filter 61 of FIG. 9, a G2 color filter having spectral sensitivity characteristics close to the visible sensitivity curve is added (a newly determined green G2 color filter is added with respect to the R, G, and B filters corresponding to R, G, and B of FIG. 1) so that, by obtaining more accurate luminance information, the gradation of the luminance can be increased, and an image which is closer to the appearance to the eye can be reproduced.

As a filter evaluation coefficient used when the four-color color filter 61 is determined, for example, a UMG (Unified Measure of Goodness) in which both “color reproduction characteristics” and “noise reduction characteristics” are considered is used.

In the evaluation using UMG, merely the satisfaction of the Luther condition by the filter to be evaluated does not cause the evaluation value to be increased, and the overlap of the spectral sensitivity distribution of each filter is also taken into consideration. Therefore, when compared to the case of the color filter evaluated using a q factor, a p factor, or an FOM, noise can be reduced even more. That is, as a result of the evaluation using an UMG, the spectral sensitivity characteristics have a certain degree of overlap. However, since a filter in which substantially all characteristics do not overlap like the R characteristics and the G characteristics of FIG. 4 is selected, even when each color signal is amplified for color separation, the amplification factor needs not to be increased by very much, and as a consequence, the amplification of noise components is suppressed.

The reason why noise is suppressed by the fourth filter (G2 filter) will be mentioned. As the cell size of CCDs is minimized to increase the number of pixels, the spectral sensitivity curves of the primary-color filters become thick in order to improve the sensitivity efficiency, and the overlap of the filters tends to increase. The addition of another filter under such circumstances has the effect of suppressing the original overlap of the three primary colors, with the result that noise is prevented.

FIG. 11 shows features of evaluation coefficients of each filter. In FIG. 11, with respect to each evaluation coefficient, it is shown whether or not the number of filters which can be evaluated at one time and the spectral reflectance of the object are considered, and it is shown whether or not the reduction of noise is considered.

As shown in FIG. 11, for the q factor, the number of filters which can be evaluated at one time is only “1”, and the spectral reflectance of the object and the reduction of noise are not considered. For the μ factor, although a plurality of filters can be evaluated at one time, the spectral reflectance of the object and the reduction of noise are not considered. Furthermore, for the FOM, although a plurality of filters can be evaluated at one time, and the spectral reflectance of the object is considered, the reduction of noise is not considered.

In comparison, for the UMG used when the four-color color filter 61 is determined, a plurality of filters can be evaluated at one time, the spectral reflectance of the object is considered, and the reduction of noise is considered.

The details of the q factor are disclosed in “H. E. J. Neugebauer “Quality Factor for Filters Whose Spectral Transmittances are Different from Color Mixture Curves, and Its Application to Color Photography” JOURNAL OF THE OPTICAL SOCIETY OF AMERICA, VOLUME 46, NUMBER 10”. The details of the p factor are disclosed in “P. L. Vora and H. J. Trussell, “Measure of Goodness of a set of color-scanning filters”, JOURNAL OF THE OPTICAL SOCIETY OF AMERICA, VOLUME 10, NUMBER 7”. The details of the FOM are disclosed in “G. Sharma and H. J. Trussell, “Figures of Merit for Color Scanners, IEEE TRANSACTION ON IMAGE PROCESSING, VOLUME 6”. The details of the UMG are disclosed in “S. Quan, N. Ohta, and N. Katoh, “Optimal Design of Camera Spectral Sensitivity Functions Based on Practical Filter Components”, CIC, 2001”.

Referring back to FIG. 8, a microcomputer 41 controls the entire operation in accordance with a predetermined control program. For example, the microcomputer 41 performs exposure control using an aperture stop 43, open/close control of a shutter 44, electronic shutter control of a TG (Timing Generator) 46, gain control at a front end 47, mode control of a camera system LSI (Large Scale Integrated Circuit) 48, parameter control, and the like.

The aperture stop 43 adjusts the passage (aperture) of light collected by the lens 42 so as to control the amount of light received by an image sensor 45. The shutter 44 controls the passage of light collected by the lens 42 in accordance with instructions from the microcomputer 41.

The image sensor 45 further includes an imaging device composed of a CCD and a CMOS (Complementary Metal Oxide Semiconductor). The image sensor 45 converts light which is input via the four-color color filter 61 formed in front of the imaging device into electrical signals, and outputs four types of color signals (R signal, G1 signal, G2 signal, and B signal) to the front end 47. The image sensor 45 is provided with the four-color color filter 61 of FIG. 9, so that wavelength components (the details will be described later with reference to FIG. 18) of the band of each of R, G1, G2, and B are extracted from the light which is input via the lens 42.

The front end 47 performs a correlation double sampling process for removing noise components, a gain control process, a digital conversion process, etc., on the color signal supplied from the image sensor 45. The image data obtained as a result of various processing being performed by the front end 47 is output to the camera system LSI 48.

As will be described in detail later, the camera system LSI 48 performs various processing on the image data supplied from the front end 47 in order to generate, for example, a luminance signal and color signals, outputs the color signals to an image monitor 50, whereby an image corresponding to the signals is displayed.

An image memory 49 is composed of, for example, DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), and the like, and is used as appropriate when the camera system LSI 48 performs various processing. An external storage medium 51 formed by a semiconductor memory, a disk, etc., is configured in such a manner as to be loadable into the digital camera of FIG. 8, and image data compressed at a JPEG (Joint Photographic Expert Group) format by the camera system LSI 48 is stored therein.

The image monitor 50 is formed by, for example, an LCD (Liquid Crystal Display), and displays captured images, various menu screens, etc.

FIG. 12 is a block diagram showing an example of the configuration of the camera system LSI 48 of FIG. 8. Each block making up the camera system LSI 48 is controlled by the microcomputer 41 of FIG. 8 via a microcomputer interface (I/F) 73.

A signal processing section 71 performs various processing, such as an interpolation process, a filtering process, a matrix computation process, a luminance signal generation process, and a color-difference signal generation process, on four types of color information supplied from the front end 47, and, for example, outputs the generated image signals to the image monitor 50 via a monitor interface 77.

Based on the output from the front end 47, an image detection section 72 performs detection processing, such as autofocus, autoexposure, and auto white balance, and outputs the results to the microcomputer 41 as appropriate.

A memory controller 75 controls transmission and reception of data among the processing blocks or transmission and reception of data among predetermined processing blocks and the image memory 49, and, for example, outputs image data supplied from the signal processing section 71 via a memory interface 74 to the image memory 49, whereby the image data is stored.

An image compression/decompression section 76 compresses, for example, the image data supplied from the signal processing section 71 at a JPEG format, and outputs the obtained data via the microcomputer interface 73 to the external storage medium 51, whereby the image data is stored. The image compression/decompression section 76 further decompresses (expands) the compressed data read from the external storage medium 51 and outputs the data to the image monitor 50 via the monitor interface 77.

FIG. 13 is a block diagram showing an example of the detailed configuration of the signal processing section 71 of FIG. 12. Each block making up the signal processing section 71 is controlled by the microcomputer 41 via the microcomputer interface 73.

An offset correction processing section 91 removes noise components (offset components) contained in the image signal supplied from the front end 47, and outputs the obtained image signal to a white-balance correction processing section 92. The white-balance correction processing section 92 corrects the balance of each color on the basis of the color temperature of the image signal supplied from the offset correction processing section 91 and the difference in the sensitivity of each filter of the four-color color filter 61. The color signals obtained as a result of a correction being made by the white-balance correction processing section 92 are output to a vertical-direction time-coincidence processing section 93. The vertical-direction time-coincidence processing section 93 is provided with a delay device, so that signals having vertical deviations in time, which are supplied from the white-balance correction processing section 92, are made time coincident (corrected).

A signal generation processing section 94 performs an interpolation process for interpolating color signals of 2×2 pixels of the minimum unit of RG1G2B, which are supplied from the vertical-direction time-coincidence processing section 93, in the phase of the same space, a noise removal process for removing noise components of the signal, a filtering process for limiting the signal band, and a high-frequency correction process for correcting high-frequency components of the signal band, and outputs the obtained RG1G2B signals to the linear matrix processing section 95.

Based on predetermined matrix coefficients (a 3×4 matrix), the linear matrix processing section 95 performs a computation of the RG1G2B signals in accordance with the following equation (1), and generates the RGB signals of the three colors. $\begin{matrix} {\begin{bmatrix} R \\ G \\ B \end{bmatrix} = {\begin{bmatrix} a & b & c & d \\ e & f & g & h \\ i & j & k & l \end{bmatrix} \cdot \begin{bmatrix} R \\ {G\quad 1} \\ {G\quad 2} \\ B \end{bmatrix}}} & (1) \end{matrix}$

The R signal generated by the linear matrix processing section 95 is output to a gamma correction processing section 96-1, the G signal is output to a gamma correction processing section 96-2, and the B signal is output to a gamma correction processing section 96-3.

The gamma correction processing sections 96-1 to 96-3 make a gamma correction on each of the RGB signals output from the linear matrix processing section 95, and output the obtained RGB signals to a luminance (Y) signal generation processing section 97 and a color-difference (C) generation processing section 98.

The luminance signal generation processing section 97 combines the RGB signals supplied from the gamma correction processing sections 96-1 to 96-3 at a predetermined combination ratio in accordance with the following equation (2), generating a luminance signal. Y=0.2126R+0.7152G+0.0722B  (2)

The color-difference signal generation processing section 98 likewise combines the RGB signals supplied from the gamma correction processing sections 96-1 to 96-3 at a predetermined combination ratio, generating color-difference signals (Cb, Cr). The luminance signal generated by the luminance signal generation processing section 97 and the color-difference signals generated by the color-difference signal generation processing section 98 are, for example, output to the image monitor 50 via the monitor interface 77 of FIG. 12.

In the digital camera having the above-described configuration, when the capturing of an image is instructed, the microcomputer 41 controls the TG 46 so that an image is captured by the image sensor 45. That is, the four-color color filter 61 formed in front of the imaging device such as a CCD making up the image sensor 45 allows light of four colors to be transmitted therethrough, and the transmitted light is captured by the CCD imaging device. The light captured by the CCD imaging device is converted into four-color color signals, and the signals are output to the front end 47.

The front end 47 performs a correlation double sampling process for removing noise components, a gain control process, a digital conversion process, etc., on the color signals supplied from the image sensor 45, and outputs the obtained image data to the camera system LSI 48.

In the signal processing section 71 of the camera system LSI 48, offset components of the color signals are removed by the offset correction processing section 91, and the balance of each color is corrected by the white-balance correction processing section 92 on the basis of the color temperature of the image signal and the difference in the sensitivity of each filter of the four-color color filter 61.

Signals having vertical deviations in time, which are corrected by the white-balance correction processing section 92, are made time coincident (corrected) by the vertical-direction time-coincidence processing section 93. The signal generation processing section 94 performs an interpolation process for interpolating color signals of 2×2 pixels of the minimum unit of RG1G2B, which are supplied from the vertical-direction time-coincidence processing section 93, in the phase of the same space, a noise removal process for removing noise components of the signal, a filtering process for limiting the signal band, a high-frequency correction process for correcting high-frequency components of the signal band, and the like.

Furthermore, in the linear matrix processing section 95, the signal (RG1G2B signal) generated by the signal generation processing section 94 is converted in accordance with predetermined matrix coefficients (a 3×4 matrix), generating three color RGB signals. The R signal generated by the linear matrix processing section 95 is output to the gamma correction processing section 96-1, the G signal is output to the gamma correction processing section 96-2, and the B signal is output to the gamma correction processing section 96-3.

The gamma correction processing sections 96-1 to 96-3 make gamma correction on each of the RGB signals obtained by the processing of the linear matrix processing section 95. The obtained RGB signals are output to the luminance signal generation processing section 97 and the color-difference signal generation processing section 98. In the luminance signal generation processing section 97 and the color-difference signal generation processing section 98, the R signal, the G signal, and the B signal, which are supplied from the gamma correction processing sections 96-1 to 96-3, are combined at a predetermined combination ratio, generating a luminance signal and color-difference signals. The luminance signal generated by the luminance signal generation processing section 97 and the color-difference signals generated by the color-difference signal generation processing section 98 are output to the image compression/decompression section 76 of FIG. 12, whereby the signals are compressed, for example, at a JPEG format. The obtained compressed image data is output via the microcomputer interface 73 to the external storage medium 51, where the image data is stored.

As described above, since one piece of image data is formed on the basis of four kinds of color signals, the reproduction characteristics become closer to that which appears to the eyes of a human being.

On the other hand, when the playback (display) of the image data stored in the external storage medium 51 is instructed, the image data stored in the external storage medium 51 is read by the microcomputer 41, and the image data is output to the image compression/decompression section 76 of the camera system LSI 48. In the image compression/decompression section 76, the compressed image data is expanded, and an image corresponding to the data obtained via the monitor interface 77 is displayed on the image monitor 50.

Next, referring to the flowchart in FIG. 14, a description will be given of a process (procedure) for producing a digital camera having the above configuration.

In step S1, a four-color color filter determination process for determining the spectral sensitivity characteristics of the four-color color filter 61 provided in the image sensor 45 of FIG. 8 is performed. In step S2, a linear matrix determination process for determining matrix coefficients to be set in the linear matrix processing section 95 of FIG. 13 is performed. The details of the four-color color filter determination process performed in step S1 will be described later with reference to the flowchart in FIG. 15. The details of the linear matrix determination process performed in step S2 will be described later with reference to the flowchart in FIG. 19.

After the four-color color filter 61 is determined and the matrix coefficients are determined, in step S3, the signal processing section 71 of FIG. 13 is produced, and the process proceeds to step S4, where the camera system LSI 48 of FIG. 12 is produced. Furthermore, in step S5, the whole of the image processing apparatus (digital camera) shown in FIG. 8 is produced. In step S6, the image quality (“color reproduction characteristics” and “color discrimination characteristics”) of the digital camera produced in step S5 is evaluated, and the processing is then completed.

Here, object colors which are referred to when “color reproduction characteristics”, “color discrimination characteristics”, etc., are evaluated will now be described. The object colors are computed by the value such that the product of the “spectral reflectance of the object”, the “spectral energy distribution of standard illumination”, and the “spectral sensitivity distribution (characteristics) of a sensor (color filter) for sensing an object” is integrated in the range of the visible light region (for example, 400 to 700 nm). That is, the object colors are computed by the following equation (3). Object color=k∫_(vis)(Spectral reflectance of an object)·(Spectral energy distribution of illumination)·(Spectral sensitivity distribution of a sensor for sensing an object)dλ  (3)

-   -   λ: Wavelength     -   vis: Visible light region (normally 400 nm to 700 nm)

For example, when a predetermined object is observed by the eye, the “spectral sensitivity distribution of the sensor” of equation (3) is represented by a color matching function, and the object colors of the object are represented by tristimulus values of X, Y, and Z. More specifically, the X value is computed by equation (4-1), the Y value is computed by equation (4-2), and the Z value is computed by equation (4-3). The value of the constant k in equations (4-1) to (4-3) is computed by equation (4-4). X=k∫ _(vis) R(λ)·P(λ)·{overscore (x)}(λ)dλ  (4-1) Y=k∫ _(vis) R(λ)·P(λ)·{overscore (y)}(λ)dλ  (4-2) Z=k∫ _(vis) R(λ)·P(λ)·{overscore (z)}(λ)dλ  (4-3)

-   vis: Visible light region (normally 400 nm to 700 nm) -   R(λ): Spectral reflectance of an object -   {overscore (x)}(λ), {overscore (y)}(λ), {overscore (z)}(λ): Color     matching function     k=1/∫P(λ)·{overscore (y)}(λ)dλ  (4-4)

When the image of the predetermined object is captured by the image processing apparatus such as a digital camera, the “spectral sensitivity characteristics of a sensor” of equation (3) above are represented by the spectral sensitivity characteristics of the color filter, and for the object colors of the object, the object colors of the color values of the number of filters (for example, the RGB values (three values) in the case of RGB filters (three kinds)) are computed. When the image processing apparatus is provided with RGB filters for detecting three kinds of colors, specifically, the R value is computed by equation (5-1), the G value is computed by equation (5-2), and the B value is computed by equation (5-3). Furthermore, the value of the constant k_(r) in equation (5-1) is computed by equation (5-4), the value of the constant k_(g) in equation (5-2) is computed by equation (5-5), and the value of the constant k_(b) in equation (5-3) is computed by equation (5-6). R=k _(r)∫_(vis) R(λ)·P(λ)·{overscore (r)}(λ)dλ  (5-1) G=k _(g)∫_(vis) R(λ)·P(λ)·{overscore (g)}(λ)dλ  (5-2) B=k _(b)∫_(vis) R(λ)·P(λ)·{overscore (b)}(λ)dλ  (5-3)

-   vis: Visible light region (normally 400 nm to 700 nm) -   R(λ): Spectral reflectance of an object -   {overscore (r)}(λ), {overscore (g)}(λ), {overscore (b)}(λ): Spectral     sensitivity distribution of a color filter     k _(r)=1/∫_(vis) P(λ)·{overscore (r)}(λ)dλ  (5-4)     k _(g)=1/∫_(vis) P(λ)·{overscore (g)}(λ)dλ  (5-5)     k _(b)=1/∫_(vis) P(λ)·{overscore (b)}(λ)dλ  (5-6)

Next, referring to the flowchart in FIG. 15, a description will be given of a four-color color filter determination process performed in step S1 of FIG. 14.

For determining the four-color color filter, there are various methods. A description is given below of an example of a process in which RGB filters are used as a basis (one of the existing G filters (of FIG. 1) is assumed as a G1 filter), a G2 filter for allowing a color having a high correlation with the color that is transmitted through the G1 filter is selected, and this filter is added to determine the four-color color filter.

In step S21, a color target used for computing the UMG values is selected. For example, in step S21, a color target containing a lot of color patches representing existing colors and containing a lot of color patches with importance placed on the memorized colors of a human being (skin color, green of plants, blue of the sky, etc.) is selected. Examples of the color target include IT8.7, a Macbeth color checker, a GretagMacbeth digital camera color checker, CIE, and a color bar.

Furthermore, depending on the purpose, a color patch that can be a standard may be created from the data, such as an SOCS (Standard Object Color Spectra Database), and it may be used. The details of the SOCS are disclosed in “Joji TAJIMA, “Statistical Color Reproduction Evaluation by Standard Object Color Spectra Database (SOCS)”, Color Forum JAPAN 99”. A description is given below of a case in which the Macbeth color checker is selected as a color target.

In step S22, the spectral sensitivity characteristics of the G2 filter are determined. Spectral sensitivity characteristics that can be created from existing materials may be used. Also, assuming a virtual curve C(λ) by a cubic spline curve (three-order spline function) shown in FIG. 16, spectral sensitivity characteristics in which the peak value λ₀ of the virtual curve C(λ), a value w (value such that the sum of w₁ and w₂ is divided by 2), and a value Δw (value such that the value obtained by subtracting w₂ from w₁ is divided by 2) are changed in the range indicated in the figure may be used. The values of w and Δw are set at values based on the half-width value. The way of changing λ₀, w, and Δw is performed at the intervals of, for example, 5 nm. The virtual curve C(λ) is expressed by the following equations (6-1) to (6-5) in each range. $\begin{matrix} {{C(\lambda)} = {{\frac{w_{2}^{3} + {3{w_{2}^{2}\left( {w_{2} - {{\lambda - \lambda_{0}}}} \right)}} + {3{w_{2}\left( {w_{2} - {{\lambda - \lambda_{0}}}} \right)}^{2}} - {3\left( {w_{2} - {{\lambda - \lambda_{0}}}} \right)^{3}}}{6w_{2}^{3}}\quad\Lambda\quad 0} \leqq {\lambda - \lambda_{0}} \leqq w_{2}}} & \left( {6\text{-}1} \right) \\ {{C(\lambda)} = {{{\frac{w_{1}^{3} + {3{w_{1}^{2}\left( {w_{1} - {{\lambda - \lambda_{0}}}} \right)}} + {3{w_{1}\left( {w_{1} - {{\lambda - \lambda_{0}}}} \right)}^{2}} - {3\left( {w_{1} - {{\lambda - \lambda_{0}}}} \right)^{3}}}{6w_{1}^{3}}\quad\Lambda}\quad - w_{1}} \leqq {\lambda - \lambda_{0}} \leqq 0}} & \left( {6\text{-}2} \right) \\ {{C(\lambda)} = {{\frac{\left( {{2w_{2}} - {{\lambda - \lambda_{0}}}} \right)^{3}}{6w_{2}^{3}}\quad\Lambda\quad w_{2}} \leqq {\lambda - \lambda_{0}} \leqq {2w_{2}}}} & \left( {6\text{-}3} \right) \\ {{C(\lambda)} = {{{\frac{\left( {{2w_{1}} - {{\lambda - \lambda_{0}}}} \right)^{3}}{6w_{1}^{3}}\quad\Lambda}\quad - {2w_{1}}} \leqq {\lambda - \lambda_{0}} \leqq {- w_{1}}}} & \left( {6\text{-}4} \right) \\ {{C(\lambda)} = {0\quad\Lambda\quad{Other}\quad{than}\quad{the}\quad{above}\quad{ranges}}} & \left( {6\text{-}5} \right) \end{matrix}$

In this example, only the filter G2 is added. Alternatively, only the R filter and the B filter of the filters (R, G, G, B) of FIG. 1 can be used, and the remaining G1 and G2 filters can be defined as virtual curves of equations (6-1) to (6-5) above in the vicinity of green color. Similarly, only the R and G filters, and the G and B filters from among the filters of FIG. 1 may be used. Furthermore, three colors of a four-color color filter can also be defined as virtual curves, or all the four colors can be defined as virtual curves.

In step S23, a filter to be added (G2 filter) and the existing filters (R filter, G1 filter, and B filter) are combined to create a minimum unit (set) of a four-color color filter. In step S24, an UMG is used as the filter evaluation coefficient with respect to the four-color color filter produced in step S23, and the UMG values is computed.

As described with reference to FIG. 11, when the UMG is used, an evaluation can be performed at one time with respect to the color filter of each of the four colors. Furthermore, not only is an evaluation performed by considering the spectral reflectance of the object, but also an evaluation is performed by considering the noise reduction characteristics. In the evaluation using the UMG, a high evaluation is indicated with respect to a filter having a proper overlap in the spectral sensitivity characteristics of each filter. Therefore, it can be prevented that a high evaluation is indicated with respect to a filter having characteristics such that the R characteristics and the G characteristics overlap over a wide wavelength band.

FIGS. 17A to 17C show an example of UMG values computed in the three-color color filter. For example, in a filter having characteristics, shown in FIG. 17A, such that the RGB characteristics do not overlap one another, the UMG value of “0.7942” is computed. In a filter having characteristics, shown in FIG. 17B, such that the R characteristics and the G characteristics overlap over a wide wavelength band, the UMG value of “0.8211” is computed. In a filter having characteristics, shown in FIG. 17C, such that the RGB characteristics overlap properly, the UMG value of “0.8879” is computed. That is, the highest evaluation is indicated with respect to the filter having characteristics shown in FIG. 17C, in which the respective characteristics of RGB overlap properly. The same applies to the four-color color filter. A curve L31 of FIG. 17A, a curve L41 of FIG. 17B, and a curve L51 of FIG. 17C indicate the spectral sensitivity of R. A curve L32 of FIG. 17A, a curve L42 of FIG. 17B, and a curve L52 of FIG. 17C indicate the spectral sensitivity of G. A curve L33 of FIG. 17A, a curve L43 of FIG. 17B, and a curve L53 of FIG. 17C indicate the spectral sensitivity of B.

In step S25, it is determined whether or not the UMG value computed in step S24 is greater than or equal to “0.95”, which is a predetermined threshold value. When it is determined that the UMG value is less than “0.95”, the process proceeds to step S26, where the produced four-color color filter is rejected (not used). When the four-color color filter is rejected in step S26, the processing is thereafter terminated (processing of step S2 and subsequent steps of FIG. 14 is not performed).

On the other hand, when it is determined in step S25 that the UMG value computed in step S24 is greater than or equal to “0.95”, in step S27, the four-color color filter is assumed as a candidate filter to be used in the digital camera.

In step S28, it is determined whether or not the four-color color filter which is assumed as a candidate filter in step S27 can be realized by existing materials and dyes. When materials, dyes, etc., are difficult to obtain, it is determined that the four-color color filter cannot be recognized, and the process proceeds to step S26, where the four-color color filter is rejected.

On the other hand, when it is determined in step S28 that the materials, dyes, etc., can be obtained and the four-color color filter can be realized, the process proceeds to step S29, where the produced four-color color filter is determined as a filter to be used in the digital camera. Thereafter, the processing of step S2 and subsequent steps of FIG. 14 is performed.

FIG. 18 shows an example of the spectral sensitivity characteristics of the four-color color filter determined in step S29.

In FIG. 18, a curve L61 indicates the spectral sensitivity characteristics of R, and a curve L62 indicates the spectral sensitivity characteristics of G1. A curve L63 indicates the spectral sensitivity of G2, and a curve L64 indicates the spectral sensitivity of B. As shown in FIG. 18, the spectral sensitivity curve (curve L63) of G2 has a high correlation with the spectral sensitivity curve (curve L62) of G1. The spectral sensitivity of R, the spectral sensitivity of G (G1, G2), and the spectral sensitivity of B overlap one another in a proper range. The characteristics shown in FIG. 18 are such that characteristics of G2 are added to the characteristics of the three-color color filter shown in FIG. 5.

As a result of using the four-color color filter determined in the above-described manner, in particular, the “color discrimination characteristics” among the “color reproduction characteristics” can be improved.

From the viewpoint of light use efficiency, in the manner described above, it is preferable that a filter having a high correlation with the G filter of the existing RGB filter be used as a filter (G2 filter) to be added. In this case, it is empirically preferable that the peak value of the spectral sensitivity curve of the filter to be added exist in the range of 495 to 535 nm (in the vicinity of the peak value of the spectral sensitivity curve of the existing G filter).

When a filter having a high correlation with the existing G filter is added, the four-color color filter can be produced by only using one of the two G filters which make up the minimum unit (R, G, G, B) of FIG. 1 as the filter of the color to be added. Therefore, no major changes needs to be added in the production steps.

When the four-color color filter is produced in the manner described above and it is provided in the digital camera, four types of color signals are supplied to the signal processing section 71 of FIG. 13 from the signal generation processing section 94. As a result, in the linear matrix processing section 95, a conversion process for generating signals of three colors (R, G, B) from the signals of four colors (R, G1, G2, B) is performed. Since this conversion process is a matrix process on a luminance-linear (the luminance value can be expressed by linear conversion) input signal value, the conversion process performed at the linear matrix processing section 95 will be hereinafter referred to as a “linear matrix process” where appropriate.

Next, referring to the flowchart in FIG. 19, a description will be given of a linear matrix determination process performed in step S2 of FIG. 14.

For the color target to be used in the processing of FIG. 19, the Macbeth color checker is used, and the four-color color filter to be used is assumed to have the spectral sensitivity characteristics shown in FIG. 18.

In step S41, for example, common daylight D65 (illumination light L(λ)), which is regarded as a standard light source in CIE (Commission Internationale del'Eclairange), is selected as illumination light. The illumination light may be changed to illumination light in an environment where the image processing apparatus is expected to be frequently used. When there are a plurality of illumination environments to be assumed, a plurality of linear matrixes may be provided. A description will now be given below of a case in which the daylight D65 is selected as illumination light.

In step S42, reference values Xr, Yr, and Zr are computed. More specifically, the reference value Xr is computed by equation (7-1), Yr is computed by equation (7-2), and Zr is computed by equation (7-3). X _(r) =k∫ _(vis) R(λ)·L(λ)·{overscore (x)}(λ)dλ  (7-1) Y _(r) =k∫ _(vis) R(λ)·L(λ)·{overscore (y)}(λ)dλ  (7-2) Z _(r) =k∫ _(vis) R(λ)·L(λ)·{overscore (z)}(λ)dλ  (7-3)

-   vis: Visible light region (normally 400 nm to 700 nm)× -   {overscore (x)}(λ), {overscore (y)}(λ), {overscore (z)}(λ): Color     matching function

The constant k is computed by equation (8). k=1/∫_(vis) L(λ)·y(λ)dλ  (8)

For example, when the color target is a Macbeth color checker, reference values for 24 colors are computed.

Next, in step S43, the output values R_(f), G1_(f), G2_(f), and B_(f) of the four-color color filter are computed. More specifically, R_(f) is computed by equation (9-1), G1_(f) is computed by equation (9-2), G2_(f) is computed by equation (9-3), and B_(f) is computed by equation (9-4). R _(f) =k _(r)∫_(vis) R(λ)·L(λ)·{overscore (r)}(λ)dλ  (9-1) G1_(f) =k _(g1)∫_(vis) R(λ)·L(λ)·{overscore (g1)}(λ)dλ  (9-2) G2_(f) =k _(g2)∫_(vis) R(λ)·L(λ)·{overscore (g2)}(λ)dλ  (9-3) B _(f) =k _(b)∫_(vis) R(λ)·L(λ)·{overscore (b)}(λ)dλ  (9-4)

-   vis: Visible light region (normally 400 nm to 700 nm) -   {overscore (r)}(λ), {overscore (g1)}(λ), {overscore (g2)}(λ),     {overscore (b)}(λ): Spectral sensitivity distribution of a color     filter

The constant k_(r) is computed by equation (10-1), the constant k_(g1) is computed by equation (10-2), the constant k_(g2) is computed by equation (10-3), and the constant k_(b) is computed by equation (10-4). k _(r)=1/∫_(vis) L(λ)·{overscore (r)}(λ)dλ  (10-1) k _(g1)=1/∫_(vis) L(λ)·{overscore (g1)}(λ)dλ  (10-2) k _(g2)=1/∫_(vis) L(λ)·{overscore (g2)}(λ)dλ  (10-3) k _(b)=1/∫_(vis) L(λ)·{overscore (b)}(λ)dλ  (10-4)

For example, when the color target is a Macbeth color checker, reference values R_(f), G1_(f), G2_(f), and B_(f) for 24 colors are computed.

In step S44, a matrix used to perform a conversion for approximating the filter output value computed in step S43 to the reference value (XYZ_(ref)) computed in step S42 is computed by, for example, a least square error method in the XYZ color space.

For example, when a 3×4 matrix to be computed is assumed to be A expressed by equation (11), the matrix transform (XYZ_(exp)) is expressed by the following equation (12). $\begin{matrix} {A = \begin{bmatrix} {a\quad 0} & {a\quad 1} & {a\quad 2} & {a\quad 3} \\ {a\quad 4} & {a\quad 5} & {a\quad 6} & {a\quad 7} \\ {a\quad 8} & {a\quad 9} & {a\quad 10} & {a\quad 11} \end{bmatrix}} & (11) \\ {{{XYZ}\quad\exp} = {\begin{bmatrix} \hat{X} \\ \hat{Y} \\ \hat{Z} \end{bmatrix} = {\begin{bmatrix} {a\quad 0} & {a\quad 1} & {a\quad 2} & {a\quad 3} \\ {a\quad 4} & {a\quad 5} & {a\quad 6} & {a\quad 7} \\ {a\quad 8} & {a\quad 9} & {a\quad 10} & {a\quad 11} \end{bmatrix} \cdot \begin{bmatrix} R_{f} \\ {G\quad 1_{f}} \\ {G\quad 2_{f}} \\ B_{f} \end{bmatrix}}}} & (12) \end{matrix}$

The square of the error (E²) of the matrix transform (equation (12)) with respect to a reference value is expressed by the following equation (13), and based on this equation, the matrix A for minimizing the matrix transform error with respect to the reference value is computed. E ² =|XYZref−XYZexp| ²  (13)

Furthermore, the color space used in the least square error method may be changed to that other than the XYZ color space. For example, by performing identical computations after the color space is converted into a Lab, Luv, or Lch color space which is uniform to the perception of a human being (uniform perceptual color space), a linear matrix that allows color reproduction with a small amount of perceptional error can be computed. Since the values of these color spaces are computed by a non-linear transform from the XYZ values, a non-linear calculation algorithm is used also in the least square error method.

As a result of the above-described computation, for example, a matrix coefficient for the filter having the spectral sensitivity characteristics shown in FIG. 18, which is represented by equation (14), is computed. $\begin{matrix} {A = \begin{bmatrix} {\quad 0.476} & 0.905 & {\quad 0.261} & {- 0.691} \\ 0.2 & 1.154 & {- 0.061} & {- 0.292} \\ {- 0.004} & 0.148 & {\quad 0.148} & {- 0.481} \end{bmatrix}} & (14) \end{matrix}$

In step S45, a linear matrix is determined. For example, when the final RGB image data to be produced is represented by the following equation (15), the linear matrix (LinearM) is computed as shown below. RGBout=[Ro, Go, Bo] ^(t)  (15)

That is, when illumination light is D65, a conversion equation for converting an sRGB color space into the XYZ color space is represented by equation (16) containing an ITU-R709.BT matrix, and equation (17) is computed by a reverse matrix of the ITU-R709.BT matrix. $\begin{matrix} {\begin{bmatrix} X \\ Y \\ Z \end{bmatrix} = {\begin{bmatrix} 0.4124 & 0.3576 & 0.1805 \\ 0.2126 & 0.7152 & 0.0722 \\ 0.0193 & 0.1192 & 0.9505 \end{bmatrix} \cdot \begin{bmatrix} R_{sRGB} \\ G_{sRGB} \\ B_{sRGB} \end{bmatrix}}} & (16) \\ {\begin{bmatrix} R_{sRGB} \\ G_{sRGB} \\ B_{sRGB} \end{bmatrix} = {\begin{bmatrix} {\quad 3.2406} & {- 1.5372} & {- 0.4986} \\ {- 0.9689} & {\quad 1.8758} & {\quad 0.0415} \\ {\quad 0.0557} & {\quad{- 0.204}} & {\quad 1.057} \end{bmatrix} \cdot \begin{bmatrix} X \\ Y \\ Z \end{bmatrix}}} & (17) \end{matrix}$

Based on the matrix conversion equation of equation (12) and the reverse matrix of the ITU-R709.BT matrix of equation (15) and equation (17), equation (18) is computed. In the right side of equation (18), a linear matrix as the value in which the reverse matrix of the ITU-R709.BT matrix and the above-described matrix A are multiplied together is contained. $\begin{matrix} {\left\lbrack \quad\begin{matrix} {Ro} \\ {Go} \\ {Bo} \end{matrix} \right\rbrack = {\left\lbrack \quad\begin{matrix} {\quad 3.2406} & {- 1.5372} & {- 0.4986} \\ {- 0.9689} & {\quad 1.8758} & {\quad 0.0415} \\ {\quad 0.0557} & {\quad{- 0.204}} & {\quad 1.057} \end{matrix} \right\rbrack \cdot \left\lbrack \quad\begin{matrix} {a\quad 0} & {a\quad 1} & {a\quad 2} & {a\quad 3} \\ {a\quad 4} & {a\quad 5} & {a\quad 6} & {a\quad 7} \\ {a\quad 8} & {a\quad 9} & {a\quad 10} & {a\quad 11} \end{matrix} \right\rbrack \cdot \left\lbrack \quad\begin{matrix} R_{f} \\ {G\quad 1_{f}} \\ {G\quad 2_{f}} \\ B_{f} \end{matrix}\quad \right\rbrack}} & (18) \end{matrix}$

That is, the 3×4 linear matrix (LinearM) is represented by equation (19-1), and the linear matrix for the four-color color filter having the spectral sensitivity characteristics of FIG. 18, in which, for example, the matrix coefficient of equation (14) is used, is represented by equation (19-2). $\begin{matrix} \begin{matrix} {{LinearM} = \begin{bmatrix} {I\quad 0} & {I\quad 1} & {I\quad 2} & {I\quad 3} \\ {I\quad 4} & {I\quad 5} & {I\quad 6} & {I\quad 7} \\ {I\quad 8} & {I\quad 9} & {I\quad 10} & {I\quad 11} \end{bmatrix}} \\ {= {\begin{bmatrix} {\quad 3.2406} & {- 1.5372} & {- 0.4986} \\ {- 0.9689} & {\quad 1.8758} & {\quad 0.0415} \\ {\quad 0.0557} & {\quad{- 0.204}} & {\quad 1.057} \end{bmatrix} \cdot \left\lbrack \quad\begin{matrix} {a\quad 0} & {a\quad 1} & {a\quad 2} & {a\quad 3} \\ {a\quad 4} & {a\quad 5} & {a\quad 6} & {a\quad 7} \\ {a\quad 8} & {a\quad 9} & {a\quad 10} & {a\quad 11} \end{matrix} \right\rbrack}} \end{matrix} & \left( {19\text{-}1} \right) \\ {{LinearM} = \begin{bmatrix} {\quad 1.238} & {\quad 1.084} & {\quad 0.228} & {\quad{- 1.55}} \\ {- 0.087} & {\quad 1.295} & {\quad{- 0.309}} & {\quad 0.101} \\ {- 0.018} & {- 0.029} & {\quad 1.535} & {\quad{- 0.485}} \end{bmatrix}} & \left( {19\text{-}2} \right) \end{matrix}$

The linear matrix computed in the above-described manner is provided to the linear matrix processing section 95 of FIG. 13. As a result, since a matrix process can be performed on the signals (R, G1, G2, B) capable of representing the luminance by a linear transform, when compared to the case in which a matrix process is performed on the signals obtained after gamma processing is performed as in the process in the signal processing section 11 shown in FIG. 2, a more faithful color can be reproduced in terms of color dynamics.

Next, a description is given of an evaluation performed in step S6 of FIG. 14.

When a comparison is made, for example, between the color reproduction characteristics of the image processing apparatus (the digital camera of FIG. 8) provided with the four-color color filter having the spectral sensitivity characteristics of FIG. 18 and the color reproduction characteristics of the image processing apparatus provided with the three-color color filter shown in FIG. 1, which are produced in the above-described manner, the following differences appear.

For example, the color difference in the Lab color space between the output value when a Macbeth chart is photographed by each of two kinds of image processing apparatus (a digital camera provided with a four-color color filter, and a digital camera provided with a three-color color filter) and the reference value is computed by the following equation (20). ΔE=√{square root over ((L ₁ −L ₂)²+(a ₁ −a ₂)²+(b ₁ −b ₂)²)}  (20)

-   -   where L₁-L₂ indicates the lightness difference between two         samples, and a₁-a₂ and b₁-b₂ indicate the component difference         of hue/chromaticity between two samples.

FIG. 20 shows computation results by equation (20). As shown in FIG. 20, whereas the color difference is “3.32” in the case of the digital camera provided with a three-color color filter, the color difference in the case of the digital camera provided with a four-color color filter is “1.39”. Thus, the “appearance of the color” is superior for the digital camera provided with a four-color color filter (the color difference is smaller).

FIG. 21 shows the RGB values when the object R1 and the object R2 having the spectral reflectance of FIG. 6 are photographed by the digital camera provided with a four-color color filter.

In FIG. 21, the R value of the object R1 is set at “49.4”, the G value is set at “64.1”, and the B values is set at “149.5”. The R value of the object R2 is set at “66.0”, the G value is set at “63.7”, and the B value is set at “155.6”. Therefore, as described above, when an image is captured by the three-color color filter, the RGB values are as shown in FIG. 7B, and the colors of each object are not identified. In contrast, in the four-color color filter, the RGB values of the object R1 differ from the RGB values of the object R2, and similarly to the case in which the object is viewed with the eye (FIG. 7A), the fact that the colors of each object are identified is shown in FIG. 21. That is, as a result of providing a filter capable of identifying four kinds of colors, the “color discrimination characteristics” are improved.

In the foregoing, as shown in FIG. 9, the four-color color filter 61 is arranged by a layout in which B filters are provided to the left and right of the G1 filter, and R filters are provided to the left and right of the G2 filter. Alternatively, the four-color color filter 61 may be arranged by a layout shown in FIG. 22. In the four-color color filter 61 shown in FIG. 22, R filters are provided to the left and right of the G1 filter, and B filters are provided to the left and right of the G2 filter. Also, with such an arrangement of the four-color color filter 61, similarly to that shown in FIG. 9, the “color discrimination characteristics”, the “color reproduction characteristics”, and the “noise reduction characteristics” can be improved.

INDUSTRIAL APPLICABILITY

According to the present invention, captured colors can be reproduced faithfully.

Furthermore, according to the present invention, the “color discrimination characteristics” can be improved.

In addition, according to the present invention, the “color reproduction characteristics” and the “noise reduction characteristics” can be improved.

According to the present invention, the “appearance of the color” can be improved. 

1. An image processing apparatus comprising: extraction means for extracting first to third light of the three primary colors, and fourth light having a high correlation with said second light among said first to third light of said three primary colors; conversion means for converting said first to fourth light extracted by said extraction means into corresponding first to fourth color signals; and signal generation means for generating fifth to seventh color signals corresponding to said three primary colors on the basis of said first to fourth color signals, wherein said signal generation means generates said fifth to seventh color signals on the basis of a conversion equation provided to minimize the difference, at a predetermined evaluation value, between a reference value computed in accordance with a predetermined color patch and an output value computed by spectral sensitivity characteristics of said extraction means in accordance with said color patch.
 2. The image processing apparatus according to claim 1, wherein said extraction means for extracting said first to fourth light has a unit composed of first to fourth extraction sections for extracting said first to fourth light, respectively, and said second extraction section and said fourth extraction section for extracting said second light and said fourth light, respectively, are positioned diagonally at said unit.
 3. The image processing apparatus according to claim 2, wherein said second extraction section and said fourth extraction section have spectral sensitivity characteristics which closely resemble visible sensitivity characteristics of a luminance signal.
 4. The image processing apparatus according to claim 1, wherein said first to third light of said three primary colors are red, green, and blue light, respectively, and said fourth light is green light.
 5. The image processing apparatus according to claim 1, wherein said difference is a difference in an XYZ color space.
 6. The image processing apparatus according to claim 1, wherein said difference is a difference in a uniform perceptual color space.
 7. The image processing apparatus according to claim 1, wherein said difference is propagation noise for color separation.
 8. An image processing method for use with an image processing apparatus comprising: extraction means for extracting predetermined color components from incident light; and conversion means for converting light of color components extracted by said extraction means into corresponding color signals, said image processing method comprising: an extraction step of extracting first to third light of the three primary colors, and fourth light having a high correlation with said second light among said first to third light of said three primary colors; a conversion step of converting said first to fourth light extracted in the process of said extraction step into corresponding first to fourth color signals; and a signal generation step of generating fifth to seventh color signals corresponding to said three primary colors on the basis of said first to fourth color signals, wherein said signal generation step generates said fifth to seventh color signals on the basis of a conversion equation provided to minimize the difference, at a predetermined evaluation value, between a reference value computed in accordance with a predetermined color patch and an output value computed by spectral sensitivity characteristics of said extraction means in accordance with said color patch.
 9. A method of manufacturing an image processing apparatus comprising: extraction means for extracting predetermined color components from incident light; and conversion means for converting light of color components extracted by said extraction means into corresponding color signals, said manufacturing method comprising the steps of: a first step of providing said conversion means; and a second step of producing, in front of said conversion means provided in the process of said first step, extraction means for extracting first to third light of the three primary colors, and fourth light having a high correlation with said second light among said first to third light of said three primary colors by determining spectral sensitivity characteristics using a predetermined evaluation coefficient.
 10. The manufacturing method according to claim 9, wherein, in said second step, a unit composed of first to fourth extraction sections, as said extraction mean, for extracting said first to fourth light, respectively, is formed, and said second extraction section and said fourth extraction section for extracting said second light and said fourth light, respectively, are positioned diagonally at said unit.
 11. The manufacturing method according to claim 9, wherein said evaluation coefficient is an evaluation coefficient for approximating the spectral sensitivity characteristics of said second extraction section and said fourth extraction section to visible sensitivity characteristics of a luminance signal.
 12. The manufacturing method according to claim 11, wherein said evaluation coefficient is an evaluation coefficient in which noise reduction characteristics as well as color reproduction characteristics are considered.
 13. The manufacturing method according to claim 9, wherein, in said second step, the first to third light of said three primary colors are red, green, and blue light, respectively, and said fourth light is green light.
 14. The manufacturing method according to claim 9, further comprising a third step of producing generation means for generating fifth to seventh color signals corresponding to said three primary colors on the basis of the first to fourth color signals generated by converting said first to fourth light by said conversion means. 